This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: XPages: EditBox with DefaultValue doesn't store this value
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Functionality
Platform: Windows XP client
Release: 8.5
Reproducible: Always
Situation:
An XPage with a datasource bound to a NotesDocument. One of the EditBoxes contains a DefaulValue which should never be edited by the user. So I set the EditBoxe's properties to be "Read-only". I also tried "Disabled" instead, and I tried both settings at the same time. Result is always the same:
if the EditBox is not truly editable the Default Value is never stored in the resulting document. If I leave both options unchecked the value will be stored, though. And: if I check one or both of those options AND programmatically set the field's value through a button the value will be stored as well!
I'm aware that I can use a computed field as a workaround or apply a CSS style, but still I feel that this should be working as it always worked in plain web forms where you can set "readonly" or "disabled" attributes.
Feedback number WEBB7NJEWU created by ~Justin Zekamanlen on 01/22/2009
Status: Open
Comments: